package org.mullin.stratego.client;

import java.util.Collection;

import org.mullin.stratego.shared.Match;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.google.gwt.user.client.rpc.XsrfProtectedService;

@RemoteServiceRelativePath("game")
public interface StrategoService extends /*RemoteService*/ XsrfProtectedService {
	public void enterGame(String channelId);
	public void sendMove(String m, String id, long matchId);
	
	public void autoMatch(String id);
	
	public Collection<Match> getMatches(String id);
	
	public void deleteMatch(long matchId, String player);
	public Match getMatch(long matchId);
}
